package Messages;

import java.io.Serializable;

/**
 * Message to communicate between PROPOSERS -> ACCEPTORS
 * Once, proposers recieve promise message, proposers use this to send to ACCEPTORS on decided consensus value.
 * 
 */
public class AcceptRequestMessage extends Message implements Serializable{

	int acceptRequestProposalNumber;
	int acceptRequestLockValue;
	
	public int getAcceptProposalNumber() {
		return acceptRequestProposalNumber;
	}
	public void setAcceptProposalNumber(int acceptProposalNumber) {
		this.acceptRequestProposalNumber = acceptProposalNumber;
	}
	public int getAcceptLockValue() {
		return acceptRequestLockValue;
	}
	public void setAcceptLockValue(int acceptLockValue) {
		this.acceptRequestLockValue = acceptLockValue;
	}
}
